GetFullName
Returns the full name of the currently opened file.
Syntax
expression.GetFullName();
expression
- A variable that represents a Api class.
Parameters
This method doesn't have any parameters.
Returns
string
Example
This example gets a document name and inserts it into the document.
let paragraph = Api.GetDocument().GetElement(0);
paragraph.AddText("File name: " + Api.GetFullName());